<!doctype html>
<html>
<head>
    <title>列表页面</title>
    <?php $this->load->module('admin/index/page_header');?>
    <link href="<?php echo URLPRE;?>static/admin/css/font_icon.css" rel="stylesheet" />
</head>
<body>
<div id="mainContent" class="wrap">
    <div class="h_a">出发城市</div>
    <div id="content" class="table_full">
        <form method="post" >
            <table>
                <tr>
                    <th style="width:2%;">ID</th>
                    <th style="width:6%;">地区</th>
                </tr>
                <?php if($depart_citys_list):?>
                <?php foreach($depart_citys_list as $k=>$v):?>
                    <tr>
                        <td><?php echo $k+1;?></td>
                        <td style="width:6%;"><?php echo $v;?></td>
                    </tr>
                <?php endforeach ;?>
                <?php endif;?>
                <tr>

            </tr>
            </table>
        </form>
     </div>

     <div class="h_a">添加城市</div>
     <div id="content" class="table_full">
        <table>
        <th>归属地</th>
                <td>
                    <a class="add" href="javascript:void(0);" onclick="add_dist(this);">增加归属地</a>
                </td>
        </table>
    </div>
    </div>
</div>
<script type="text/javascript">
var district_url = '<?php echo site_url('admin/api/city_fetch/?id=')?>';
_showdistrict(['continent', 'country', 'province', 'city'], 0);
</script>
</body>
</html>